package com.ev.asl.dao;


import com.ev.mes.domain.*;
import com.ev.scm.domain.DeliveryNoteDO;
import com.ev.scm.domain.DeliveryNoteItemDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface BillDao {

   List<Map<String,Object>> getReceiveNoticeIdsAndSign(Map<String,Object> map);

   List<Map<String,Object>> getShipmentsNoticeIdsAndSign(Map<String,Object> map);

   List<Map<String,Object>> getBomIdsAndSign(Map<String,Object> map);

   List<Map<String,Object>> getProductionPlanAndTime(Map<String,Object> map);

   List<Map<String,Object>>  getProductionFeedingIdsAndSign(Map<String,Object> map);


//   int batchUpdateForPurchaseNoticeItem(List<PurchaseNoticeItemDO> param);
//   int batchSavePurchaseNoticeItem(List<PurchaseNoticeItemDO> param);
//
//
//   int batchUpdatePurchaseNotice(List<PurchaseNoticeDO> param);
//   int batchSavePurchaseNotice(List<PurchaseNoticeDO> param);


   int batchUpdateDeliveryNote(List<DeliveryNoteDO> param);
   int batchSaveDeliveryNote(List<DeliveryNoteDO> param);
   int batchSaveDeliveryNoteItem(List<DeliveryNoteItemDO> param);
   int batchUpdateDeliveryNoteItem(List<DeliveryNoteItemDO> param);


   int batchUpdateBomDetail(List<BomDetailDO> param);
   int batchSaveBomDetail(List<BomDetailDO> param);
   int batchUpdateBom(List<BomDO> param);
   int batchSaveBom(List<BomDO> param);


   int batchSaveProductionPlan(List<ProductionPlanDO> param);
   int batchUpdateProductionPlan(List<ProductionPlanDO> param);


   int batchSaveProductionFeedingDetail(List<ProductionFeedingDetailDO> param);
   int batchUpdateProductionFeedingDetail(List<ProductionFeedingDetailDO> param);
   int batchUpdateProductionFeeding(List<ProductionFeedingDO> param);
   int batchSaveProductionFeeding(List<ProductionFeedingDO> param);


}
